package com.zmm.study.mes.config.shiro;

import org.apache.shiro.authc.UsernamePasswordToken;

/**
 * description
 * name SpUsernamePasswordToken
 *
 * @author Zebulon
 * @date by 2022-05-05 20:55:43
 */
public class SpUsernamePasswordToken extends UsernamePasswordToken {

    /**
     * 登录账户类型
     */
    private String type;

    public SpUsernamePasswordToken(final String username, final String password, String loginType) {
        super(username, password);
        this.type = loginType;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}
